import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/about',
      name: 'about',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/AboutView.vue')
    },
    {
      path: '/hylxzc',
      name: 'hylxzc',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hy/hylxzc.vue')
    },
    {
      path: '/hyxx',
      name: 'hyxx',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hy/hyxx.vue')
    },
    {
      path: '/hyxg/:id',
      name: 'hyxg',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hy/hyxg.vue')
    },
    {
      path: '/hyzc',
      name: 'hyzc',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hy/hyzc.vue')
    },
    {
      path: '/addhydj',
      name: 'addhydj',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hydj.vue/addhydj.vue')
    },
    {
      path: '/xshydj',
      name: 'xshydj',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hydj.vue/xshydj.vue')
    },
    {
      path: '/addhyqx',
      name: 'addhyqx',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hyqx.vue/addhyqx.vue')
    },
    {
      path: '/shyqyshow',
      name: 'shyqyshow',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hyqx.vue/shyqyshow.vue')
    },
    {
      path: '/zjadd',
      name: 'zjadd',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/hyqx.vue/zjadd.vue')
    },
    {
      path: '/mdadd',
      name: 'mdadd',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/md/mdadd.vue')
    },
    {
      path: '/mdshowkk',
      name: 'mdshowkk',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/md/mdshowkk.vue')
    },
    {
      path: '/addEiectronicBill',
      name: 'addEiectronicBill',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/EiectronicBill/addEiectronicBill.vue')
    },
    {
      path: '/mdxxadd',
      name: 'mdxxadd',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/mdxx/mdxxadd.vue')
    },
    {
      path: '/mdxxshow',
      name: 'mdxxshow',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/mdxx/mdxxshow.vue')
    },
    {
      path: '/mdxxxg:id',
      name: 'mdxxxg',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/mdxx/mdxxxg.vue')
    },
    {

      path: '/showEiectronicBill',
      name: 'showEiectronicBill',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/EiectronicBill/showEiectronicBill.vue')
    },

    {

      path: '/fxadd',
      name: 'fxadd',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/fx/fxadd.vue')
    },

    {

      path: '/fxxs',
      name: 'fxxs',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/fx/fxxs.vue')
    },

    {

      path: '/fxxg:id',
      name: 'fxxg',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/fx/fxxg.vue')
    },
    {

      path: '/zizhu',
      name: 'zizhu',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/EiectronicBill/zizhu.vue')
    }
    
    
  ]
})

export default router
